export default class FlowfieldApproval {
  // 获得列表数据
  static list (sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/fieldFlow/listWorkOrder/flowField', 'post', params, axiosOption, httpOption);
  }
  // 获得流程定义初始化用户任务信息 新增
  static viewInitialTaskInfo (sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/flow/flowOperation/viewInitialTaskInfo', 'get', params, axiosOption, httpOption);
  }
  // 提交外勤审批
  static FlowfieldSubmit (sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/fieldFlow/add/flowField', 'post', params, axiosOption, httpOption);
  }
  // 获取历史任务信息 查看详情
  static viewInitialHistoricTaskInfo (sender, params, axiosOption, httpOption) {
    return sender.doUrl('/admin/app/fieldFlow/viewHistoricTaskBusinessData/flowField', 'get', params, axiosOption, httpOption);
  }
}
